package cn.texous.demo.dgs;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
public class DemoGatewayServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoGatewayServiceApplication.class, args);
    }

    @GetMapping("get")
    public String get() {
        System.out.println("hello");
        return "hello word";
    }

}
